package com.ruoyi.purchase.mapper;

import com.ruoyi.purchase.domain.Type;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author lenovo
* @description 针对表【po_type】的数据库操作Mapper
* @createDate 2022-01-07 14:49:37
* @Entity com.ruoyi.purchase.domain.Type
*/
public interface TypeMapper extends BaseMapper<Type> {

    /**
     * 通过id查找Type
     * @param typeId
     * @return
     */
    public Type findTypeById(Integer typeId);

    public List<Type> findAllType(Type type);

    public int updateUser(Type type);

    public Type selectTypeById(Integer typeId);
}




